<?php /*a:1:{s:86:"/Applications/MAMP/htdocs/voice/application/admin/view/content/advs_category/form.html";i:1572919079;}*/ ?>
<div class="weadmin-body">
    <form class="layui-form" data-form='<?php echo request()->url(); ?>'>
        <div class="layui-form-item">
            <label for="title" class="layui-form-label">
                <span class="we-red">*</span>分类名
            </label>
            <div class="layui-input-inline">
                <input type="text" id="title" name="title" required="" lay-verify="required"
                       value="<?php echo htmlentities((isset($vo['title']) && ($vo['title'] !== '')?$vo['title']:'')); ?>" class="layui-input">
            </div>
            <div class="layui-form-mid layui-word-aux">
                <span class="we-red">*</span>分类名
            </div>
        </div>

        <!--<div class="layui-form-item">-->
            <!--<label for="description" class="layui-form-label">-->
                <!--<span class="we-red">*</span>分类描述-->
            <!--</label>-->
            <!--<div class="layui-input-block">-->
                <!--<input type="text" id="description" name="description" required="" lay-verify="required"-->
                       <!--value="<?php echo htmlentities((isset($vo['description']) && ($vo['description'] !== '')?$vo['description']:'')); ?>" class="layui-input">-->
            <!--</div>-->
        <!--</div>-->

        <div class="layui-form-item layui-col-xs10 layui-col-xs-offset2">
            <?php if(isset($vo['id'])): ?><input type="hidden" name="id" value="<?php echo htmlentities($vo['id']); ?>"><?php endif; ?>
            <button class="layui-btn" lay-submit="">确定</button>
        </div>
    </form>
</div>

<script>
    layui.use('form',function () {
        layui.form.render();
    })
</script>